import { usePageVariablesStoreHook } from "@/store/modules/pageVariables";
const usePageVariablesStore = usePageVariablesStoreHook();
const operateInfo = ref(usePageVariablesStore.getOperate());
export const titles = {
  id: "编号", // id
  projectName: "所属项目", // projectName
  processName: "流程名称", // processName
  status: "配置状态", // status
  nodeCount: "节点数量", // nodeCount
  createdAt: "创建时间", // createdAt
  unityName: "所属单位",
  action: "操作"
};
export const prompt = {
  id: "请输入" + titles.id,
  projectName: "请输入" + titles.projectName,
  processName: "请输入" + titles.processName,
  status: "请输入" + titles.status,
  nodeCount: "请输入" + titles.nodeCount,
  createdAt: "请输入" + titles.createdAt
};
export const defaultSearchFrom = () => {
  return {
    processName: "", // processName
    page: 1,
    limit: 10
  };
};
export const defaultInfoFrom = () => {
  return {
    processName: "", // processName
    node: [
      {
        stepId: 1,
        stepName: "发起"
      }
    ],
    status: null,
    projectId:operateInfo.value.checkedProject, //所属项目
    noticeType: []
  };
};
